import request from '@/utils/request'

// 获取员工简单列表数据
export const getUserSimple = () => request({
  url: '/sys/user/simple'
})

// 获取员工列表
export const userList = (params) => request({
  url: '/sys/user',
  params
})

// 删除员工
export const delUser = id => request({
  url: `/sys/user/${id}`,
  method: 'DELETE'
})

// 新增员工
export const addUser = data => request({
  url: '/sys/user',
  method: 'post',
  data
})

// 批量导入员工
export const batchUser = data => request({
  url: '/sys/user/batch',
  method: 'post',
  data
})

// 保存用户信息
export const 